package com.gcxy.service;

import com.gcxy.dto.Dic.DicPageDto;
import com.gcxy.dto.Dic.InsertDto;
import com.gcxy.entity.Dic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gcxy.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wlp
 * @since 2023-12-19
 */
public interface DicService extends IService<Dic> {

    R addDic(InsertDto requestBody);

    R getAll();

    R pageDic(DicPageDto requestBody);

    R updateState(Integer dicId, Integer dicState);
}
